专利摘要:
automatic protection switching method, device and system and protection switching method. The present invention relates to an automatic protection switching method, device and system. the method includes: determining (101) a portion of services as a service(s) to be switched in accordance with bandwidth change by monitoring that the bandwidth of the first transmission path changes; and switching (102) the service(s) to be switched between links in the second transmission path and the first transmission path. another method includes: receiving (1201) a partial switch message from an even network edge node via the first transmission path or the second transmission path; and determining (1202) the service(s) to be switched or bandwidth change information in the partial switching message, and switching the service(s) to be switched between links in the first transmission path and the second transmission path.
公开号:BR112012004294B1
申请号:R112012004294-7
申请日:2010-05-17
公开日:2021-08-10
发明作者:Hao Long
申请人:Huawei Technologies Co., Ltd.;
IPC主号:
专利说明:

Field of Invention
[0001] The embodiments of the present invention relate to communication technologies, and in particular to a method, device and automatic protection switching system. Background of the Invention
[0002] A packet transport network (Packet Transport Network, PTN for simplicity) of a communication system uses a link formed by nodes of network elements to transmit a data packet of a service. To prevent failure of a part of nodes or links to affect service transmission, an automatic protection switching technology (Automatic Protection Switching, APS) is formulated in an existing PTN. That is, a service on a failed link is switched to a predefined backup link for transmission, thus not affecting service transmission.
[0003] Microwave is a type of transmission media between nodes on a link, and is currently widely applied in an operator network. Synchronous digital hierarchy technology (Synchronous Digital Hierarchy, SDH to simplify) and plesiochronous digital hierarchy technology (Plesiochronous Digital Hierarchy, PDH to simplify) are used much more commonly, and an E1 service is mostly broadcast. Currently, an IP service gradually replaces E1 services, and occupies most of the traffic on the network, and the demand for bandwidth increases sharply. Under such circumstances, since traditional PDH and SDH microwaves cannot support IP service well, PDH and SDH microwaves are gradually replaced by packet microwave technology. A microwave link has a relatively special attribute, which is called adaptive modulation (Adaptive Modulation, AM for simplicity). A node that transmits data based on microwave can change the modulation mode automatically according to the current environment change. This can result in the microwave link bandwidth shifting, but can ensure a low service transmission bit error rate.
[0004] During the study of the present invention, the inventor found that applying APS technology to a PTN network that includes a microwave link has the following shortcomings. For existing APS technology, in the normal case, a secure service is transmitted on a working path, and no service or an unprotected service is transmitted on a protection path; when a failure occurs all protected services are switched to the protection path for transmission. However, in one aspect, because of the AM feature, a microwave link can still transmit a portion of services after the bandwidth is adjusted, and service switching can result in packet loss, which deteriorates transmission efficiency. of service and quality of service; in another aspect, if the microwave link exists in both the working path and the protection path, and the bandwidth in the protection path also decreases, then the bandwidth requirement of all switched services probably cannot be satisfied. Invention Summary
[0005] Modalities of the present invention provide an automatic protection switching method, device and system in order to improve efficiency and quality of service transmission, which is based on an automatic protection switching technology.
[0006] An embodiment of the present invention provides an automatic protection switching method, including: determining, by means of a network edge node according to bandwidth change, a portion of services in a first transmission path or on a second transmission path as service(s) to be switched by monitoring that the bandwidth of the first transmission path changes; and switching, via the network edge node, the service(s) to be switched between links in the second transmission path and in the first transmission path.
[0007] An embodiment of the present invention further provides another method of automatic protection switching, including: receiving, via a network edge node, a partial switching message from an even network edge node of the edge node network via a first transmission path or a second transmission path; and determining, by means of the network edge node according to indication information regarding service(s) to be switched or bandwidth change information in the partial switching message, a service part in the first transmission path or in the second transmission path as a service(s) to be switched, and to switch the service(s) to be switched between links in the second transmission path and in the first transmission path .
[0008] An embodiment of the present invention provides an automatic protection switching device, including: a determination module, configured to determine a portion of services in a first transmission path or in a second transmission path as service(s) to be switched according to bandwidth change when a network edge node monitors which bandwidth of the first transmission path changes; and a switching module configured to switch the service(s) to be switched between links in the second transmission path and the first transmission path.
[0009] An embodiment of the present invention provides another automatic protection switching device, including: a message receiving module, configured to receive a partial switching message from a peer network edge node via a first path of transmission or a second transmission path; and a service switching module, configured to determine, according to indication information regarding the service(s) to be switched or bandwidth change information in the partial switching message, a service part in the first transmission path or second transmission path as service(s) to be switched, and to switch the service(s) to be switched between links in the second transmission path and first path of transmission.
[00010] An embodiment of the present invention provides an automatic protection switching system, including a first network edge node and a second network edge node, and a second transmission path and a first transmission path exist between the first network edge node and the second network edge node through intermediate nodes.
[00011] The first network edge node is configured to: determine a portion of services on the first transmission path or on the second transmission path as service(s) to be switched according to bandwidth change upon monitor bandwidth change of the first transmission path; switching the service(s) to be switched between links in the second transmission path and the first transmission path; and sending a partial switching message to the second network edge node at the even end of the first transmission path or the second transmission path, wherein the partial switching message includes at least indication information regarding the service(s). s) to be switched(s) or bandwidth change information.
[00012] The second network edge node is configured to: receive the partial switch message from the first network edge node via the first transmission path or the second transmission path; and determining a portion of services on the first transmission path or on the second transmission path as service(s) to be switched according to the indication information regarding the service(s) to be switched ) or the bandwidth change information in the partial switching message, and switching the service(s) to be switched between links in the first transmission path and the second transmission path.
[00013] It can be seen from the technical solution indicated above that, according to the embodiments of the present invention, a technology that performs protection switching for a part of services when the transmission path bandwidth changes is used, the in order to reasonably utilize the bandwidth resources of the first transmission path and the second transmission path, reduce the switching volume of services, and reduce packet loss caused by switching. Furthermore, the load is reasonably shared between the first transmission path and the second transmission path, so that transmission efficiency and quality of service are improved. Brief Description of Drawings
[00014] Figure 1 is a flowchart of an automatic protection switching method according to Modality 1 of the present invention; Figure 2 is a flowchart of an automatic protection switching method according to embodiment 2 of the present invention; Figure 3 is a flowchart of an automatic protection switching method according to embodiment 3 of the present invention; Figure 4 is a schematic diagram of automatic protection switching network architecture according to an embodiment of the present invention; Figure 5 is a schematic diagram of a normal transmission state in the automatic protection switching network architecture according to an embodiment of the present invention; Figure 6 is a schematic diagram of a protected transmission state in the automatic protection switching network architecture according to an embodiment of the present invention; Figure 7 is a schematic diagram of another protected transmission state in the automatic protection switching network architecture according to an embodiment of the present invention; Figure 8 is a flowchart of an automatic protection switching method in accordance with Embodiment 4 of the present invention; Figure 9 is a flowchart of an automatic protection switching method in accordance with Embodiment 5 of the present invention; Figure 10 is a flowchart of an automatic protection switching method in accordance with Embodiment 6 of the present invention; Figure 11 is a flowchart of an automatic protection switching method in accordance with Embodiment 7 of the present invention; Figure 12 is a flowchart of another method of automatic protection switching in accordance with Embodiment 8 of the present invention; Figure 13 is a schematic structure diagram of an automatic protection switching device according to Embodiment 9 of the present invention; Figure 14 is a schematic structure diagram of an automatic protection switching device in accordance with Embodiment 10 of the present invention; Figure 15 is a schematic structure diagram of an automatic protection switching device according to Embodiment 11 of the present invention; Figure 16 is a schematic structure diagram of another automatic protection switching device in accordance with Embodiment 12 of the present invention; Figure 17 is a schematic structure diagram of another automatic protection switching device in accordance with Embodiment 13 of the present invention; Figure 18 is a schematic structure diagram of another automatic protection switching device in accordance with Embodiment 14 of the present invention; Figure 19-1 is a diagram of a scenario of an automatic protection switching method according to an embodiment of the present invention; Figure 19-2 is a diagram of a mapping relationship between a channel allocation policy index and a combination of path bandwidths; Figure 20 is a diagram of a channel allocation scenario in a normal state according to an embodiment of the present invention; Fig. 21 is a diagram of a protection switching scenario when path bandwidth in Fig. 20 decreases; Figure 22 is a diagram of a channel allocation scenario according to another embodiment of the present invention; and Fig. 23 is a graph of procedures for processing an automatic protection switching message in accordance with an embodiment of the present invention. Detailed Description of Modalities
[00015] The technical solutions in the embodiments of the present invention are clearly and fully described below with reference to the attached drawings. Of course, the embodiments to be described are only a part rather than all of the embodiments of the present invention. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall be included within the scope of protection of the present invention. Mod 1
[00016] Figure 1 is a flowchart of an automatic protection switching method according to Modality 1 of the present invention. In a network applying APS technology, generally at least one protection path and one working path are included. In this mode and all subsequent modes, the first transmission path can be a working path, and the second transmission path can be a protection path. In this way, when the first transmission path is a protection path, the second transmission path is a working path. Both ends of the second transmission path and the first transmission path converge to two network edge nodes. These two network edge nodes are configured with a transmit/receive selection apparatus in order to implement protection switching, that is, to determine the path to transmit the protected service. The method in this mode can be executed specifically by either network edge node, and includes the following steps:
[00017] Step 101: The network edge node determines a portion of services in the first transmission path or the second transmission path as service(s) to be switched according to bandwidth change information upon monitor that the bandwidth of the first transmission path changes. Bandwidth shift information specifically can be a bandwidth shift value or a bandwidth shift value, or it may be identified as a bandwidth shift trend, and so on.
[00018] Step 102: The network edge node switches the service(s) to be switched between links in the second transmission path and the first transmission path.
[00019] By means of the technical solution of the present invention, bandwidth change of the first transmission path is a protection switching trigger condition to trigger partial switching of the service. Instead of performing protection switching for all services on the first transmission path or on the second transmission path uniformly, it is necessary to select the service(s) to be switched between the services on the first transmission path or in the second transmission path according to the bandwidth change. Therefore, through the technical solution of this modality, automatic protection switching of partial protected services can be implemented according to specific conditions; the load can be reasonably distributed between links in the first transmission path and the second transmission path; the transmission features of the first transmission path and the second transmission path are fully used; and protected service transmission quality and efficiency are improved.
[00020] Protection switching trigger conditions are not limited to the change of monitored link bandwidth. Protection switching can also be triggered upon receiving a bandwidth change notification, or by transmission condition change or transmission requirement change, where the change is indicated by other network elements or nodes. The service(s) to be switched can be determined in different modes. For example, if the protection switching trigger condition is bandwidth value change, the service(s) to be switched can be determined according to the value of the current bandwidth of the first transmission path, or the service(s) to be switched can be determined by considering the current bandwidth value of the first transmission path and the bandwidth value of the second transmission path at the same time; if the protection switching trigger condition is a notification message sent by other network elements, the service(s) to be switched may be determined according to a carried indication in the notification message; or, when a protection switching trip condition occurs, the service(s) to be switched may be determined according to the type or identifier of the switching trip condition. protection and a locally pre-stored policy.
[00021] Based on this modality, a partial switching message can be further sent to the even network edge node of the network edge node in the first transmission path or in the second transmission path after the network edge node switches the service(s) to be switched between the second transmission path and the first transmission path. The partial switch message includes at least indication information regarding the service(s) to be switched or bandwidth change information, and is used to instruct the peer network edge node to determine the service(s) to be switched according to the partial switching message and to switch the service(s) to be switched between links in the second transmission path and in the first path of transmission. The partial switch message is preferably sent via a protection path and therefore can be carried by an APS message. In current APS technology, the network edge node sends an APS message to the protection path to ensure bidirectional automatic protection switching. In this mode, the partial switching message can be supported in an APS message, and the switching indication information can be extended and carried in the APS message, in order to make the partial switching bidirectional.
[00022] The partial switch message is used to inform the network edge node on the other side to perform the corresponding partial automatic protection switch. According to the indication information regarding the service(s) to be switched, for example, a service identifier, a list of service identifiers, a type of service, or service priority, the The service that matches the indication information regarding the service(s) to be switched is determined as the service(s) to be switched and is switched. When the referral information is a service identifier, the service with a corresponding service identifier is the service that matches the referral information. When the referral information is a type of service, the service that belongs to the same type is the service that matches the referral information. By means of the preceding technical solution, automatic bidirectional protection switching of the service can be achieved.
[00023] The service mentioned here refers to traffic supported on the transmission path, or it may be a client service; in a multi-protocol label switching network (Multi-Protocol Label Switching, MPLS for simplicity's sake), the service can be pseudowire traffic (Pseudocircuit, PW for simplicity's sake), or one-way switching traffic. labels (Label Switch Path, LSP for simplicity) of an inner layer embedding; and on an Ethernet, the service can also be traffic from an inner layer virtual local area network (Virtual Local Area Network, VLAN for simplicity). For ease of description, "service" is used to represent these types of traffic in the present invention. Modality 2
[00024] Figure 2 is a flowchart of an automatic protection switching method according to Modality 2 of the present invention. This modality can be based on modality 1 discussed above. Specifically, automatic partial protection switching is triggered according to bandwidth change. The first transmission path can be a working path, and the second transmission path can be a protection path. The method includes the following steps:
[00025] Step 201: The network edge node monitors link bandwidth on the first transmission path.
[00026] Step 202: The network edge node determines a portion of services in the first transmission path or the second transmission path as service(s) to be switched according to bandwidth change when monitoring that the link bandwidth on the first transmission path changes; however, the network edge node can also determine the indication information regarding the service(s) to be switched according to bandwidth change of the first transmission path.
[00027] Step 203: The network edge node switches the service(s) to be switched between links in the second transmission path and the first transmission path, and can further send a partial switching message to the even network edge node of the second transmission path, where the partial switching message includes at least indication information regarding the service(s) to be switched or bandwidth change information .
[00028] By means of the technical solution of the present invention, the network edge node can switch the part of services that matches the protection switching policy according to bandwidth change of the first transmission path. When bandwidth decreases, the service can be switched from the first transmission path to the second transmission path; when the bandwidth of the first transmission path increases, the service can be switched from the second transmission path to the first transmission path. When switching the service, the network edge node further sends indication information capable of identifying the service(s) to be switched to the first transmission path or to the second transmission path. The indication information is sent to the even network edge node of the network edge node, so that the even network edge node is triggered to switch the service according to the indication information. In this way, bidirectional service protection switching is achieved.
[00029] Through the technical solution of the modalities of the present invention, only a part of protected services is switched according to the bandwidth when the link bandwidth changes, which prevents all protected services from being switched. The first transmission path can also transmit a portion of protected services so that the volume of switching traffic and packet loss caused by switching is reduced. In another aspect, the original transmission efficiency of the second transmission path is not affected by the many protected services transmitted on the second transmission path.
[00030] The operation of determining the service(s) to be switched and the indication information regarding the service(s) to be switched in step 202 indicated above can be: determine by querying the pre-stored protection switch policy according to bandwidth change.
[00031] In this mode, the protection switching policy can be pre-stored at each network edge node, and the protection switching policy includes a mapping relationship between the changed bandwidth value or the changing value bandwidth, the service to be switched, and the indication information regarding the service to be switched. For example, the protection switching policy includes a mapping relationship between the stored bandwidth value and the priority value, and services are distinguished according to the priority value. A switch rule can be additionally stored in the protection switch policy. For example, a service with a priority higher or higher than a priority value is switched to the first transmission path, and a service with a priority lower than the priority value is switched to the second transmission path.
[00032] Specific content of protection switching policy is not limited to this. For example, the indication information regarding the service(s) to be switched may be a switching ratio, and the switching rule is to switch a certain proportion of protected services to the second transmission path or for the first transmission path when the bandwidth value reaches a certain value. The content of the protection switching policy can be set according to specific requirements. The protection switch policy can be predefined and then stored at each network edge node, or the protection switch policy is provided to the network edge node on one side via a trigger condition which is in the form of a notification, and then the protection switch policy is conveyed in a partial switch message and sent to the peer network edge node.
[00033] In practical applications, automatic protection switching of partial services is not necessarily triggered when monitoring the link bandwidth in the first transmission path, but it can also be triggered when monitoring the link bandwidth in the second transmission path. streaming. When the link bandwidth in the first transmission path is monitored to change, the protection switching policy can be consulted to determine the service(s) to be switched and the indication information regarding the (s) service(s) to be switched according to bandwidth change.
[00034] Alternatively, the link bandwidth in the first transmission path and the link bandwidth in the second transmission path can also be monitored simultaneously to determine the service(s) to be switched.
[00035] This technical solution is especially applicable to the case where a microwave link is involved. The network edge node monitors the link bandwidth in the first transmission path, that is, it monitors microwave link bandwidth change in the first transmission path caused by adaptive modulation because of changing environment. Specifically, when a phenomenon such as a change of environment occurs, the network edge node that interacts with the neighboring node in a form of a microwave will change the modulation mode because of the AM resource, thus changing the bandwidth. Therefore, the network edge node can obtain the local bandwidth change. At this point, if the bandwidth decreases, it does not mean that the link fails, and a portion of services can still be transmitted. Therefore, the network edge node can switch a part of protected services to the second transmission path according to the technical solution of this modality, so that the network load is shared by the second transmission path and the first transmission path , and the network bandwidth resources are fully used. Modality 3
[00036] Figure 3 is a flowchart of an automatic protection switching method according to Modality 3 of the present invention. The APS method in this mode can be implemented based on the link arrangement shown in figure 4. The APS can include several modes: 1:1, 1:n, and m:n mode. 1:1 refers to a protection path and a working path, where the working path is known as a first transmission path, and the protection path is known as a second transmission path. 1:n refers to a second transmission path and n first transmission paths. The m:n refers to m second transmission paths and n first transmission paths, where m and n are natural numbers. The 1:1 mode is adopted as an example for illustration. Figure 4 is a schematic diagram of an automatic protection switching network architecture according to an embodiment of the present invention. As shown in Figure 4, the links between multiple intermediate nodes form two paths; one is established as the first transmission path 410; and the other is established as the second transmission path 420. The convergence nodes at both ends of the first transmission path 410 and the second transmission path 420 are network edge nodes. All nodes are packet switching nodes. A transmission medium, or also known as a transmission mode, between us may vary. For example, the transmission media between the first network edge node 401 and the first intermediate node 402 and the fourth intermediate node 406 or between the first intermediate node 402 and the second intermediate node 403 is a microwave link. Other media are used as transmission links between the second network edge node 405, the third intermediate node 404, the fifth intermediate node 407, and the sixth intermediate node 408. Packets of three services are considered to be protected, i.e., the first service 430, second service 440 and third service 450 are transmitted between the first network edge node 401 and the second network edge node 405, as shown in Figure 5. Specifically, the MPLS network is adopted as An example. The first transmission path 410 and the second transmission path 420 are LSPs. The service mentioned here can be a pseudocircuit, or a client signal before pseudocircuit encapsulation. If the service is in pseudocircuit mode, the corresponding pseudocircuit priority needs to be set as service priority for each pseudocircuit at the network edge node; if the service is in a client signal mode, the corresponding service priority needs to be set for each service on the network edge node. For MPLS network, pseudocircuit mode is recommended, and switching is performed according to pseudocircuit.
[00037] This mode can be based on the second mode, and is specifically performed by the first network edge node 401 shown in Figure 4. This mode includes the following steps:
[00038] Step 301: The first network edge node 401 monitors the link bandwidth on the first transmission path 410. Specifically, the first network edge node 401 monitors the microwave link bandwidth for the first intermediate node 402 it changes because of modulation mode change. If the microwave link bandwidth between other nodes in the first transmission path 410 changes because of modulation mode change, other nodes can send a notification message to the first network edge node 401 to notify change of bandwidth.
[00039] Step 302: By monitoring that the link bandwidth on the first transmission path 410 decreases, for example, a bandwidth value decreases from an original bandwidth value of 1 Gbps to 0.6 Gbps, the first network edge node 401 queries a stored priority value corresponding to the value in the protection switching policy according to the current bandwidth value after a decrease, determines the service with priority lower than the priority value as the service to be switched from the first transmission path 410 to the second transmission path 420 according to the switching rule in the protection switching policy, and determines the priority value as indication information regarding the service to be switched, where the switch rule is pre-stored in the protection switch policy. The switching rule includes at least one indication information that instructs the network edge node to determine the service with priority lower than the priority value as the service to be switched from the first transmission path to the second transmission path, and to determine the priority value as indication information about the service to be switched.
[00040] Specifically, the protection switching policy can be pre-stored in the network edge node, and the priority value can be set according to a bandwidth decrement or a range of bandwidth decrements, or a decreased bandwidth value or a range of decreased bandwidth values. For example, when bandwidth decreases to 0.6 Gbps, the corresponding queried priority value is set to 4. Service priority is set for each service respectively, and can be carried in a service packet; or the network edge node queries the protection switching policy to obtain the priority value corresponding to the bandwidth value according to bandwidth change, and then query and identify the service priority corresponding to each service locally , so the service priority can be compared with the queried priority value. For example, the service priority of the first service 430 is set to 7; the service priority of the second service 440 is set to 3; and the service priority of the third service 450 is set to 5. Therefore, it is determined that the service priority of the second service 440 is less than 4, the second service 440 is a service to be switched, and the priority value 4 is indication information regarding the service to be switched.
[00041] Step 303: The first network edge node 401 switches the service to be switched, i.e. the second service 440, from the first transmission path 410 to the second transmission path 420, and sends a partial switching message to the second network edge node 405 at the even end of the second transmission path 420. The partial switch message carries at least indication information regarding the service to be switched, i.e., the priority value 4. A state of network transmission after switching is as shown in figure 6. When the first network edge node 401 does not need to send the service protected by the second transmission path 420, the first network edge node generally sends a message. No Request (No Request, NR for simplicity) for the second transmission path 420; when protection switching is required, the partial switching message indicated above is generated.
[00042] Step 304: After receiving the partial switching message transmitted by the second transmission path 420, the second network edge node 405 parses the partial switching message to obtain the indication information regarding the service to be switched, and switches the service with priority lower than the priority value 4 according to the protection switching policy, i.e. the second service 440 is switched from the first transmission path 410 to the second transmission path 420, so that switching of bidirectional protection is complete. The protection switch policy can also include a switch rule. The switching rule includes at least one indication that instructs the second network edge node 405 to switch services with a priority lower than the specified priority value from the first transmission path 410 to the second transmission path 420.
[00043] The second network edge node 405 can either pre-store the protection switch policy that is equal to the protection switch policy in the first network edge node 401, or receive the protection switch policy that is sent along with the partial switching message by the first network edge node 401.
[00044] By means of the technical solution of this modality, when the bandwidth of the first transmission path decreases because of the AM of the microwave link, no signal degradation (Signal Degradation, SD for simplicity) occurs, and only the service with lower priority can be switched to the second transmission path, so that decreasing the bandwidth of the first transmission path does not affect transmission of services with higher priority. The problem where transmission quality of the first transmission path is deteriorated because of the decrease in bandwidth can be avoided by switching a part of services. Furthermore, the residual bandwidth of the first transmission path can additionally be used in full, thus avoiding affecting the transmission efficiency and quality of the original unprotected services in the second transmission path by the many protected services switched to the second transmission path . However, decreasing the volume of switching services can reduce packet loss caused by switching. The protected services are reasonably distributed over the first transmission path and the second transmission path and therefore the load can be shared, and maximum protection is provided for the services.
[00045] In this mode, automatic partial protection switching of the service can be performed more than once. After service partial automatic protection switching is performed, if any network edge node monitors that the bandwidth decreases, for example, the bandwidth decreases from 0.6 Gbps to 0.3 Gbps, the priority value corresponding can be queried and determined, for example, the priority value is 6 when the bandwidth is 0.3 Gbps, and the third service 350 with the service priority being 5 is also switched to the second transmission path 420 , as shown in figure 7. Modality 4
[00046] Figure 8 is a flowchart of an automatic protection switching method according to Modality 4 of the present invention. This mode differs from Mode 3 in that: Mode 3 shows the case where the service is switched from the first transmission path to the second transmission path when the link bandwidth in the first transmission path decreases; and this embodiment shows the case where the service is switched from the second transmission path to the first transmission path when the link bandwidth on the first transmission path increases. The detailed steps are as follows:
[00047] Step 801: The first network edge node 401 monitors the link bandwidth on the first transmission path 410.
[00048] Step 802: While monitoring that the link bandwidth in the first transmission path 410 increases, the first network edge node 401 queries the protection switching policy to obtain the priority value corresponding to the value of bandwidth. bandwidth increased or the bandwidth increase value according to the increase in bandwidth. The protection switch policy includes at least one mapping relationship between the increased bandwidth value or increased bandwidth value and the priority value, and includes a switch rule. The switching rule includes at least indication information of determining services with priority equal to or greater than the priority value as the services to be switched from the second transmission path 420 to the first transmission path 410, and determining the priority value as indication information regarding the service to be switched. According to the switching rule stored in the protection switching policy, the first network edge node 401 determines the service with a priority equal to or greater than the priority value as a service to be switched from the second transmission path 420 to the first transmission path 410, and determines the priority value as indication information regarding the service to be switched. For example, when bandwidth increases from 0.3 Gbps to 0.6 Gbps, the priority value is set to 4, and the second service 440 with service priority being 5 is set to the service to be switched, and the priority value 4 is determined as the indication information regarding the service to be switched.
[00049] It should be noted that, for ease of description in this mode, only a second service 440 is switched. In a practical network, more than one service can be switched. That is, all services with a priority lower than a priority value are switched at the first network edge node 401, where the priority value is in the protection switching policy and corresponds to the switched bandwidth value.
[00050] Step 803: The first network edge node 401 switches the service(s) to be switched from the links in the second transmission path 420 to the first transmission path 410, and sends a message of partial switching to the second network edge node 405 at the even end of the second transmission path 420. The partial switching message includes at least indication information regarding the service to be switched.
[00051] Step 804: The second network edge node 405 receives by the second transmission path 420 the partial switch message sent by the first network edge node 401, parses the partial switch message to obtain the priority value 4 and, in accordance with the protection switching policy, switches the second service 440 with service priority less than the priority value of the links in the first transmission path 410 to the second transmission path 420 for transmission. The protection switch policy can additionally include a switch rule. The switching rule includes at least one indication that instructs the second network edge node 405 to switch services with a priority lower than the specified priority value from the first transmission path 410 to the second transmission path 420.
[00052] It should be noted that, for ease of description in this mode, only a second service 440 is switched. In a practical network, more than one service can be switched. That is, all services with a priority less than a priority value are switched at the second network edge node 405, where the priority value is taken from the parsed partial switch message.
[00053] Through the technical solution of this modality, when the network edge node monitors that the bandwidth of the first transmission path changes because of the AM of the microwave link, a service is transmitted by a path that can be controlled according to service priority. Therefore, bandwidth resources are reasonably utilized; packet loss caused by switching all protected services is reduced; and network transmission efficiency and quality can be improved. Modality 5
[00054] Figure 9 is a flowchart of an automatic protection switching method according to Modality 5 of the present invention. This mode differs from Mode 3 and Mode 4 in that: Mode 3 and Mode 4 show a situation where only the link bandwidth of the first transmission path is considered when the switching priority value is determined; in this mode, the priority value of the service(s) to be switched is determined with reference to the bandwidth of the first transmission path and the bandwidth of the second transmission path. In this modality, the network architecture shown in figure 4 is adopted as an example for illustration.
[00055] Step 901: The first network edge node 401 monitors the bandwidth of the first transmission path 410 and the second transmission path 420. Specifically, the bandwidth of the microwave link between the first node of network edge 401, the first intermediate node 402 and the fourth intermediate node 406 are monitored.
[00056] Step 902: When monitoring that the bandwidth of the first transmission path 410 and/or the second transmission path 420 changes or changes simultaneously, the first network edge node 401 queries the protection switching policy to obtain the priority value corresponding to the bandwidth value according to the current bandwidth change of the first transmission path 410 and the second transmission path 420. The protection switching policy includes at least one mapping relationship between the bandwidth change value or bandwidth change value and priority value, and includes the switching rule. The switching rule includes at least one indication that instructs the first network edge node 401 to perform protection switching for a service part according to the priority value. That is, the service with priority equal to or greater than the priority value is determined as the service to be switched from the second transmission path 420 to the first transmission path 410; the service with priority lower than the priority value is determined as the service to be switched from the first transmission path 410 to the second transmission path 420; and the priority value is determined as indication information regarding the service(s) to be switched. The first network edge node 401 performs protection switching for a service part according to the switching rule in the protection switching policy and the priority value. That is, the service with priority equal to or greater than the priority value is determined as the service to be switched from the second transmission path 420 to the first transmission path 410; the service with priority lower than the priority value is determined as the service to be switched from the first transmission path 410 to the second transmission path 420; and the priority value is determined as indication information regarding the service(s) to be switched.
[00057] Specifically, the protection switching policy can be pre-stored in the network edge node, and the priority value can be set according to the corresponding values of the bandwidth of the first transmission path and the bandwidth of bandwidth of the second transmission path. For example, when the bandwidth of the first transmission path is 0.6 Gbps, and the bandwidth of the second transmission path is also 0.6 Gbps, the priority value is set to 4 when querying the policy. switching protection. Alternatively, the priority value can be further determined in accordance with the bandwidth increase or decrease value of the first transmission path. When the priority value is determined to be 4, for the situation shown in Fig. 5, the second service 440 with the service priority 4 can be determined as a service to be switched, and the priority value 4 is determined as indication information regarding the service to be switched. Specifically, the service(s) to be switched may be identified in the first transmission path 410 and the second transmission path 420, respectively. When a service with a priority lower than the priority value is identified in the first transmission path 410, the service is determined as a service to be switched, and is switched to the second transmission path 420; when a service with a priority equal to or greater than the priority value is identified in the second transmission path 420, the service is determined as a service to be switched, and is switched to the first transmission path 410. Here, the number of ( s) service(s) to be switched is one or more than one.
[00058] Step 903: The first network edge node 401 switches the service(s) to be switched between the link in the second transmission path 420 and the link in the first transmission path 410 according to indicating information regarding the service to be switched, and sends a partial switching message to the second network edge node 405 at the even end of the second transmission path 420, where the partial switching message includes at least the information of indication regarding the service to be switched.
[00059] Step 904: Second network edge node 405 receives partial switch message sent by first network edge node 401 by second transmission path 420, parses partial switch message to get priority value 4 , uses the switching rule in the protection switching policy, and performs protection switching for a service part according to the priority value. That is, a service with a priority lower than the link priority value of the first transmission path 410 is determined as a service to be switched and is switched to a link on the second transmission path 420 for transmission, and a service with equal priority or greater than the link priority value of the second transmission path 420 is determined as a service to be switched and is switched to a link on the first transmission path 410 for transmission. The switching rule can be the same or different from the switching rule at the first network edge node 401. For example, protection switching can be performed for a part of services according to the priority value, ie, a a service with a priority lower than the priority value on the link of the first transmission path 410 is determined as a service to be switched and is switched to the link on the second transmission path 420, and a service with a priority equal to or greater than the value of priority on the link of the second transmission path 420 is determined as a service to be switched and is switched to the link on the first transmission path 410.
[00060] The second network edge node 405 can perform a step similar to step 902 set out above, identify the services in the first transmission path 410 and the second transmission path 420 according to the first priority value, determine the services which match the condition as service(s) to be switched according to the identification result, and switch the services between the first transmission path 410 and the second transmission path 420. Therefore, the service is ensured with lower priority is transmitted on the second transmission path 420, and the service with higher priority is transmitted on the first transmission path 410.
[00061] Through the technical solution of this modality, when the network edge node monitors that the bandwidth of the first transmission path changes because of the AM of the microwave link, a service is transmitted by a path that can be controlled according to service priority. Therefore, bandwidth resources are reasonably utilized, packet loss caused by switching all protected services is reduced, and network transmission efficiency and quality can be improved.
[00062] In practical applications, the protection switching policy is not limited to distinguishing the service(s) to be switched according to whether the service priority is higher or lower than a priority value, and the service(s) to be switched can also be identified directly according to a service identifier, or a list of service identifiers, or a service group identifier, or a packet priority value. For example, services with a certain priority value or certain priority values are determined directly as services that are to be switched to the second transmission path, and if which of these services that are transmitted in the first transmission path are monitored, switching from protection is performed. Specifically, in an MPLS network, multiple pseudocircuits can form a pseudocircuit group, and a group identifier is allocated to the pseudocircuit group. A label switching path can support multiple groups of pseudocircuits. When switching is performed, identifiers of one or more pseudocircuit groups that need to be switched are carried in an APS MPLS message, notifying the peer that services in/in these pseudocircuit groups need to be switched to the second transmission path. Modality 6
[00063] Figure 10 is a flowchart of an automatic protection switching method according to Modality 6 of the present invention. In the embodiment discussed above, a path layer APS message can be used to carry a partial switching message, thus triggering partial protection switching. In this mode, a channel layer APS message is used to trigger protection switching. Generally speaking, an arrangement is specific to one or more services transmitted on a channel. Therefore, when a channel layer APS message is used to trigger protection switching, the APS message does not need to carry the identifier or priority of the service to be switched, but an APS message is sent to the service(s) at be switched(s) transmitted on each channel. In this modality, a multi-protocol/pseudo-circuit label switching network (Multi-Protocol/Pseudo-Circuit Label Switching, MPLS/PW for simplicity) is taken as an example. The method includes the following steps:
[00064] Step 1001: The network edge node monitors the bandwidth of the first transmission path and/or the second transmission path. Specifically, it may be that the network edge node microwave link bandwidth is directly monitored.
[00065] Step 1002: By monitoring that the bandwidths of the first transmission path and/or the second transmission path change or change simultaneously, the network edge node consults the protection switching policy to determine the service(s). ) to be switched corresponding(s) according to bandwidth change. The protection switching policy includes at least one mapping relationship between the changed bandwidth value or the changed bandwidth value and the service to be switched.
[00066] Step 1003: The network edge node switches the service(s) to be switched from the working pseudocircuit on the first transmission path to the protection pseudocircuit on the second transmission path for transmission, and can send an APS PW message, i.e., a partial switching message, on the corresponding protection pseudocircuit, where the partial switching message carries identification information such as an indication of switching the service on the channel to the protection pseudocircuit for transmission. The identifier of the channel for transmitting the APS PW message is the indication information regarding the service to be switched.
[00067] Step 1004: The even network edge node of the network edge node receives the partial switch message via the first transmission path or the second transmission path.
[00068] Step 1005: The peer network edge node of the network edge node uses the channel identifier to transmit the partial switching message as indication information regarding the service to be switched, and determines the services on the channel as service(s) to be switched according to the channel identifier.
[00069] Step 1006: Peer network edge node switches the service(s) to be switched between links in the first transmission path and the second transmission path.
[00070] In this mode, when receiving the corresponding APS PW message, the peer network edge node uses the channel identifier to transmit the APS PW message as indication information about the service(s) to be switched ( s), and determines the services through the working pseudocircuit of the channel as services that need to be switched to the protection pseudocircuit of the second transmission path. In this mode, the first transmission path can be a working path, and the second transmission path can be a protection path.
[00071] In this mode, the channel can refer to PW; for a stack of MPLS labels, the channel can also be an inner-layer LSP; for an Ethernet network, the channel can be a VLAN and a service instance identifier (Service Instance Identifier, I-SID for simplicity). Modality 7
[00072] Figure 11 is a flowchart of an automatic protection switching method according to Modality 7 of the present invention. The partial switching message transmitted in the aforementioned modalities carries indication information regarding the service to be switched. In this mode, the partial switching message carries a protection switching trip condition which is capable of triggering partial protection switching. Specific steps include the following:
[00073] Step 1101: The network edge node monitors the link bandwidth on the first transmission path and/or the second transmission path.
[00074] Step 1102: When monitoring that the bandwidth of the first transmission path and/or the second transmission path changes, the network edge node queries the protection switching policy to determine the service(s) ) to be switched corresponding(s) according to bandwidth change. The protection switching policy includes at least one mapping relationship between the changed bandwidth value or the changed bandwidth value and the service to be switched.
[00075] Step 1103: The network edge node switches the service(s) to be switched between links in the second transmission path and the first transmission path and specifically switches the path used to send the services from the network edge node to the peer network edge node.
[00076] Step 1104: The network edge node sends a partial switch message to the network edge node at the even end of the first transmission path or the second transmission path. The partial switching message includes at least bandwidth change information which is capable of triggering the partial switching, i.e. a bandwidth change value or a bandwidth change value of the first protection path and/ or the second path of protection. The bandwidth change information is used to instruct the peer network edge node to determine the service(s) to be switched according to the bandwidth change of the first protection path and /or the second protection path, and to switch the service(s) to be switched between links in the second transmission path and the first transmission path.
[00077] Step 1105: The peer network edge node receives the partial switch message via the first transmission path or the second transmission path.
[00078] Step 1106: According to the bandwidth change information in the partial switch message, the peer network edge node consults the local protection switch policy to determine the corresponding service as the service to be switched. The bandwidth change information includes at least a bandwidth change value and/or a bandwidth change value, and the protection switch policy includes at least one mapping relationship between the change value of bandwidth and/or the bandwidth value changed and the service to be switched.
[00079] Step 1107: Peer network edge node switches the service(s) to be switched between links in the first transmission path and the second transmission path.
[00080] In this mode, the first transmission path can be a working path, and the second transmission path can be a protection path.
[00081] In this mode, the network edge node uses a partial switch message to trigger the peer network edge node to perform partial switch; and the peer network edge node self-determines the service(s) to be switched according to the local protection switching policy and the bandwidth change information of the first transmission path and/or of the second transmission path. Specifically, the path used by the service sent by the peer network edge node itself is determined. The protection switching policies at the two network edge nodes can be the same or different, and the services to be switched determined can be the same or different.
[00082] In this modality, adjusting service distribution in the first transmission path and in the second transmission path refers to distributing different services to the first transmission path or to the second transmission path for transmission by means of a predefined distribution algorithm . In an MPLS network, it may be that multiple pseudocircuits are distributed to the working LSP and the protective LSP; on an Ethernet network, it may be that multiple VLAN clients are distributed to different operator VLAN tunnels or provider backbone bridge traffic engineering tunnels (Provider Backbone Bridge Traffic Engineering, PBB-TE for simplicity) . Performing service adjustment can ensure normal transmission of service to the extreme.
[00083] Based on the modalities discussed above, by monitoring that the bandwidth of the first transmission path and/or the second transmission path changes, the network edge node can further determine a portion of services in the first transmission path and/or on the second transmission path as services to be dropped in accordance with the change of bandwidth of the first transmission path and/or the second transmission path, and discard the services to be dropped. Dropping mainly occurs in the case where the bandwidth value decreases. Preferably, when the bandwidth required to transmit the service exceeds the sum of the bandwidth of the first transmission path and the bandwidth of the second transmission path, a portion of low priority services can be determined as services to be dropped . The network edge node may further send an APS message to notify the peer network edge node to perform switching. The APS message carries information about the current bandwidth of the first transmission path and/or the second transmission path, so that the peer network edge node self-determines the services to be discarded according to bandwidth change . Definitely, the network edge node can also add identification information of these services to be discarded (information such as PW tag, VLAN tag and service priority) to the APS message or in other messages, and send the message to notify the node of peer network edge, in order to ensure that the services dropped on both sides are consistent. Modality 8
[00084] Figure 12 is a flowchart of another method of switching automatic protection according to Modality 8 of the present invention. This modality can be performed through a network edge node. In this mode, the first transmission path can be a working path, and the second transmission path can be a protection path. The method includes the following steps:
[00085] Step 1201: The network edge node receives a partial switch message from an even network edge node from the network edge node via a first transmission path or a second transmission path. Specifically, the partial message may be received by the first transmission path, or it may be received by the second transmission path. Preferably, the partial switching message is supported in an APS message transmitted on the second transmission path.
[00086] Step 1202: The network edge node determines a portion of services in the first transmission path or the second transmission path as service(s) to be switched according to indication information regarding the ) service(s) to be switched or bandwidth change information in the partial switching message, and switches the service(s) to be switched between links in the second transmission path and in the first transmission path.
[00087] Through the technical solution of this modality, protection switching for a part of services can be implemented, which prevents all services from being switched. Therefore, a service part can be transmitted additionally on the first transmission path, so that the volume of switching traffic and packet loss caused by switching are reduced. In another aspect, the original transmission efficiency of the second transmission path is not affected by the many protected services transmitted on the second transmission path. The network edge node completes the corresponding switching operation by receiving a partial switching message, and can implement bidirectional switching of services.
[00088] The network edge node can serve as a sender or a receiver of the partial switching message by coordinating with a portion of switching trigger nodes to complete the bidirectional switching of the service.
[00089] Indication information regarding the service(s) to be switched can be in multiple forms, for example, a service identifier, a type of service, or proportion of services that need to be switched . Services can be randomly selected for switching according to ratio.
[00090] Specifically, this modality can be implemented based on the network architecture shown in Figure 4, and specifically can be performed by the second network edge node 405.
[00091] The second network edge node 405 receives a partial switch message sent by the first network edge node 401 by the second transmission path 420.
[00092] The second network edge node 405 parses the partial switching message to obtain the priority value as indication information regarding the service to be switched. For example, the indication information is priority value 4.
[00093] The second network edge node 405 determines a service with a priority lower than the link priority value of the first transmission path 410 as a service(s) to be switched according to the switching policy of protection and the switching rule in the protection switching policy and switches the service to the link on the second transmission path 420 for transmission, and/or determines a service with a priority equal to or greater than the priority value on the link of the second path of transmission 420 as a service to be switched and switches the service to the link on the first transmission path 410 for transmission. That is, as a receiver of the partial switching message, the second network edge node 405 can judge whether any service on the first transmission path 410 and the second transmission path 420 need to be switched respectively according to the indication information. The protection switching policy includes at least the service priority of the service to be switched, and the switching rule includes at least an indication of determining a service with a priority lower than the link priority value of the first transmission path 410 as a service(s) to be switched and switch the service to the link on the second transmission path 420 for transmission, and/or determine a service with a priority equal to or greater than the priority value on the link of the second transmission path 420 as a service(s) to be switched and switch the service to the link on the first transmission path 410 for transmission.
[00094] In the aforementioned embodiments of the present invention, the protection switching policy is not limited to determining the service(s) to be switched according to the priority value, and the current modulation level and bandwidth level information can additionally be used as a switch identifier to determine the service to be switched. Any indication information is appropriate as long as the service can be distinguished according to bandwidth. The technical solution of the embodiments of the present invention is not limited to be applied in the PTN network shown in figure 4, but can be applied in other packet networks based on APS technology, and is not limited to the 1:1 switching mode, but it can use 1:n or m:n switching mode. Any switching mode is suitable as long as a service part is switched between the first transmission path and the second transmission path in accordance with changing the bandwidth.
[00095] In all the modalities described above, specifically, the service is switched when the service priority is lower than the priority value. In practical applications, however, the switching rule in the protection switching policy is not limited to this. Service with a priority equal to or greater than an established priority value can also be switched.
[00096] In practical applications, not only the first transmission path can use microwave links vulnerable to adaptive modulation, but also the second transmission path can employ microwave links vulnerable to adaptive modulation. Therefore, the switching trigger condition is not necessarily generated according to the state of the first transmission path, but can be obtained according to the state of the second transmission path, or the indication information such as priority value in policy protection switching can be determined according to the state such as bandwidth of the first transmission path and the second transmission path.
[00097] In another method of automatic protection switching provided in an embodiment of the present invention, step 1202 may include the following steps:
[00098] The network edge node uses a channel identifier to transmit a partial switching message as indication information regarding the service to be switched, and determines the services over the channel as the service(s) to be switched ( s) according to the channel identifier.
[00099] The network edge node switches the service(s) to be switched between links in the second transmission path and the first transmission path.
[000100] For detailed operations, reference can be made to the description in Modality 6.
[000101] In another method of automatic protection switching provided in an embodiment of the present invention, step 1202 may include the following steps:
[000102] According to the bandwidth change information in the partial switching message, the network edge node consults the local protection switching policy to determine the corresponding service as the service to be switched. The protection switching trigger condition is preferably a bandwidth value of the first protection path and/or the second protection path, where the bandwidth value is monitored by the even network edge node. The bandwidth change information includes at least a bandwidth change value and/or a bandwidth change value, and the protection switch policy includes at least one mapping relationship between the change value of bandwidth and/or the bandwidth value changed and the service to be switched.
[000103] The network edge node switches the service(s) to be switched between links in the second transmission path and the first transmission path.
[000104] For detailed operations, reference can be made to the description in Modality 7.
[000105] Based on the modalities discussed above, after receiving the partial switching message coming from the even network edge node via the first transmission path or the second transmission path, the network edge node can further determine a part of services on the first transmission path and/or on the second transmission path as services to be discarded according to the bandwidth change information included in the partial switching message, and discarding the services to be discarded. Preferably, the service to be dropped can be determined according to the bandwidth value monitored by the peer network edge node. The services to be dropped determined by both network edge nodes can be low priority services, and can be the same or different. Modality 9
[000106] Figure 13 is a schematic structure diagram of an automatic protection switching device according to Modality 9 of the present invention, including a determination module 10 and a switching module 20. The determination module 10 is configured to determine a portion of services on a first transmission path or on a second transmission path as service(s) to be switched according to bandwidth change by monitoring that the bandwidth of the first transmission path changes; and the switching module 20 is configured to switch the service(s) to be switched between links in the second transmission path and the first transmission path.
[000107] The automatic protection switching device in this mode can be an autonomous network element device or integrated into a network edge node of a packet network, it can perform the automatic protection switching method provided in the embodiments herein invention, and can determine a service part of the protected services to switch between the second transmission path and the first transmission path, which ensures that the load is distributed fairly, and quality and efficiency of transmitting packets are improved.
[000108] Additionally, the automatic protection switching device may further include: a message sending module 30. The message sending module 30 can be connected to the determination module 10, and is configured to send a partial switching message to a network edge node at the even end of the first transmission path or the second transmission path. The partial switch message includes at least indication information regarding the service(s) to be switched or bandwidth change information. Such information is used to instruct the peer network edge node to determine the service(s) to be switched according to the partial switch message and to switch the service(s) to be switched (s) between links in the second transmission path and the first transmission path. The network edge node at the even end of the first transmission path or the second transmission path can be notified to perform corresponding protection switching by sending a partial switching message in order to implement bidirectional automatic protection switching of the service. Modality 10
[000109] Figure 14 is a schematic structure diagram of an automatic protection switching device according to Modality 10 of the present invention. This modality can be based on Modality 9. The determination module 10 includes a bandwidth monitoring unit 11 and a switching determination unit 12. The bandwidth monitoring unit 11 is configured to monitor the bandwidth of the first transmission path; and the switching determination unit 12 is configured to determine a portion of services in the first transmission path or the second transmission path as service(s) to be switched according to bandwidth change by monitoring that the bandwidth of the first transmission path changes, and to determine indication information regarding the service(s) to be switched in accordance with bandwidth change of the first transmission path.
[000110] This embodiment can perform the automatic protection switching method provided in an embodiment of the present invention, and determine the protected services that need to be switched according to the bandwidth change. This mode is especially applicable for monitoring bandwidth change caused by adaptive modulation of the microwave link due to environmental factors. This time, although bandwidth decreases, a portion of bandwidth resources is still available.
[000111] Based on the foregoing technical solution, the switching determination unit 12 includes: a first priority query sub-unit 121 and a first service determination sub-unit 122. The first priority query sub-unit 121 is configured to query the protection switch policy to get the priority value corresponding to the decreased bandwidth value or the bandwidth decrease value according to the bandwidth decrease when monitoring the link bandwidth in the first path of transmission decreases. The protection switch policy includes at least one mapping relationship between the decreased bandwidth value or the decreased bandwidth value and the priority value. The first service determination sub-unit 122 is configured to determine the service with priority less than the priority value as the service to be switched from the first transmission path to the second transmission path according to a switching rule in the switching policy. of protection, and to determine the priority value as indication information regarding the service to be switched, where the switching rule includes at least one indication to determine the service with a priority lower than the priority value as the service to be switched from the first transmission path to the second transmission path and determine the priority value as the indication information regarding the service to be switched.
[000112] Through the preceding technical solution, services can be distinguished by using service priority. When the bandwidth of the first transmission path decreases, a portion of protected services with a priority lower than the priority value is switched to the second transmission path and therefore the load is reasonably shared and the service transmission reliability is assured. Modality 11
[000113] Figure 15 is a schematic structure diagram of an automatic protection switching device according to Modality 11 of the present invention. This mode differs from Mode 10 in that the switching determination unit 12 includes: a second priority inquiry subunit 123 and a second service determination subunit 124. The second priority inquiry subunit 123 is configured to query policy protection switching to obtain the priority value corresponding to the increased bandwidth value or the increased bandwidth value according to the increased bandwidth by monitoring that the link bandwidth in the first transmission path increases . The protection switch policy includes at least one mapping relationship between the increased bandwidth value or the increased bandwidth value and the priority value. The second service determination sub-unit 124 is configured to determine the service with priority equal to or greater than the priority value as the service to be switched from the second transmission path to the first transmission path according to a switching rule in the policy. of protection switching, and to determine the priority value as indication information regarding the service to be switched, where the switching rule includes at least one indication to determine the service with priority equal to or greater than the priority value as the service to be switched from the second transmission path to the first transmission path and determine the priority value as the indication information regarding the service to be switched.
[000114] This embodiment specifically shows a partial protection switching situation that occurs when the bandwidth increases, and the switching determination unit can simultaneously include a first priority query subunit, a first service determination subunit, a second priority inquiry sub-unit and a second service determination sub-unit. Therefore, bidirectional switching of protected services takes place between the first transmission path and the second transmission path in accordance with the change in bandwidth.
[000115] Based on the modality set out above, the automatic protection device additionally includes a first discard module, which is configured to determine a portion of services in the first transmission path as services to be discarded according to the change in width of bandwidth of the first transmission path, and to discard the services to be discarded. Modality 12
[000116] Figure 16 is a schematic structure diagram of another automatic protection switching device according to Modality 12 of the present invention, including a message receiving module 40 and a service switching module 50. The module message receiving 40 is configured to receive a partial switching message from an even network edge node via a first transmission path or a second transmission path; and the service switching module 50 is configured to determine a portion of services in the first transmission path or the second transmission path as service(s) to be switched according to indication information regarding the service(s) to be switched or bandwidth change information in the partial switching message, and switching the service(s) to be switched between links in the second transmission path and in the first transmission path.
[000117] The automatic protection switching device in this mode can be an autonomous network element device or integrated in a network edge node of a packet network, it can perform the automatic protection switching method provided in the embodiments herein invention, and can determine a service part of the protected services to switch between the second transmission path and the first transmission path, which ensures that the load is distributed fairly and quality and efficiency of transmitting packets are improved.
[000118] Based on the foregoing technical solution, the service switching module 50 may specifically include: a first information parsing unit 51 and a first service switching unit 52. The first information parsing unit 51 is configured to parse the partial switching message to obtain a priority value as indication information regarding the service to be switched; and the first service switching unit 52 is configured to determine a service with priority lower than the link priority value of the first transmission path as a service(s) to be switched in accordance with the switching policy of protection and the switching rule in the protection switching policy, and to switch the service to the link on the second transmission path for transmission, and/or to determine a service with a priority equal to or greater than the priority value on the second link transmission path as a service(s) to be switched and switch the service to the link on the first transmission path for transmission. The protection switching policy includes at least the service priority of the service to be switched, and the switching rule includes at least an indication to determine a service with a priority lower than the link priority value of the first transmission path as a service(s) to be switched and switch the service to the link on the second transmission path for transmission, and/or determine a service with priority equal to or greater than the link priority value of the second transmission path as a service(s) to be switched and switch the service to the link on the first transmission path for transmission.
[000119] By means of the preceding technical solution, services can be distinguished by means of service priority, and services protected with high priority are preferably switched to the protection path for transmission and therefore the load is shared appropriately and service transmission reliability is ensured. Modality 13
[000120] Figure 17 is a schematic structure diagram of another automatic protection switching device according to Modality 13 of the present invention. This mode differs from Mode 12 in that the service switching module 50 includes: a second information parsing unit 53 and a second service switching unit 54. The second information parsing unit 53 is configured to use a identifier of a channel for transmitting the partial switching message as indication information regarding the service to be switched, and for determining the services on the channel as service(s) to be switched in accordance with the identifier of the channel; and the second service switching unit 54 is configured to switch the service(s) to be switched between links in the first transmission path and the second transmission path.
[000121] This modality can perform the technical solution of Modality 6 of the present invention. For the detailed work process, reference can be made to the description of the modalities set out above. Type 14
[000122] Figure 18 is a schematic structure diagram of another automatic protection switching device according to Modality 14 of the present invention. This mode differs from Mode 12 in that the service switching module 50 includes: a third information parsing unit 55 and a third service switching unit 56. The third information parsing unit 55 is configured to query the local protection switching policy to determine the corresponding service as the service(s) to be switched according to the bandwidth change information in the partial switching message, where the bandwidth change information bandwidth includes at least one bandwidth change value and/or bandwidth change value, and the protection switch policy includes at least one mapping relationship between the bandwidth change information and the service. to be switched and specifically a mapping relationship between the bandwidth change value and/or the bandwidth change value and the service to be switched. The third service switching unit 56 is configured to switch the service(s) to be switched between links in the first transmission path and the second transmission path.
[000123] This modality can perform the technical solution of Modality 7 of the present invention. For the detailed work process, reference can be made to the description of the modalities set out above.
[000124] Based on the modality set out above, the automatic protection device can additionally include a second discard module, which is configured to determine a portion of services in the first transmission path as services to be discarded according to the information of bandwidth change included in the partial switching message, and to drop the services to be dropped. Modality 15
[000125] For the structure of the automatic protection switching system provided in Modality 15, reference can be made to figures 4 to 7. This system includes a first network edge node 401 and a second network edge node 405. Intermediate nodes exist between the first network edge node 401 and the second network edge node 405 to form a second transmission path 420 and a first transmission path 410. The first network edge node 401 is configured to: determine a part of services on the first transmission path 410 or on the second transmission path 420 as a service(s) to be switched according to bandwidth change by monitoring that the bandwidth of the first transmission path 410 changes ; switching the service(s) to be switched between a link in the second transmission path 420 and a link in the first transmission path 410; and sending a partial switch message to the second network edge node 405 at the even end of the first transmission path 410 or the second transmission path 420, wherein the partial switch message includes at least indication information regarding the ) service(s) to be switched or bandwidth change information. The second network edge node 405 is configured to: receive the partial switch message from the first network edge node 401 via the first transmission path 410 or the second transmission path 420; and determining a portion of services on the first transmission path 410 or on the second transmission path 420 as a service(s) to be switched according to the indication information regarding the service(s) to be switched (s) or bandwidth change information in the partial switching message, and switching the service(s) to be switched between the link in the first transmission path 410 and the link in the second transmission path 420.
[000126] The automatic protection switching system provided in this embodiment can include the two types of automatic protection switching devices provided in the embodiments of the present invention, and specifically can perform the automatic protection switching method provided in the embodiments of the present invention and it can switch a part of services between the first transmission path and the second transmission path, so that the load is fairly distributed and quality and efficiency of transmitting packets are improved.
[000127] The technical solution of this modality is especially applicable to the situation where the first network edge node is connected to the intermediate node through a microwave link. When monitoring bandwidth change caused by adaptive modulation of the microwave link because of changing environment, the first network edge node generates this protection switching trigger condition.
[000128] When the change in bandwidth is caused by adaptive modulation of the microwave link because of changing environment, bandwidth decrease does not mean that the signals are also degraded to transmit services, and a part of the bandwidth bandwidth is still available. Therefore, when the technical solution of this modality is applied in a microwave packet network, the bandwidth resources are fully utilized, and the quality and efficiency of transmitting packets are improved. Modality 16
[000129] Modality 16 does not indicate that only one modality can be included, but multiple modalities can be included.
[000130] Figure 19-1 depicts a diagram of a scenario of an automatic protection switching method according to Modality 16 of the present invention. In a network applying APS technology, a protection group generally includes at least a first transmission path and a second transmission path. Both ends of the first transmission path and the second transmission path converge to two protective switching nodes, which are generally network edge nodes. These two network edge nodes are configured with a transmit/receive selection apparatus in order to implement protection switching, that is, to determine the path to transmit the protected service. The method in this mode can be performed specifically by one or another network edge node. In this mode, "network edge node" and "even network edge node" are used to distinguish between two nodes of different edges; on the same path, "the network edge node" and "the even network edge node" refer to the two previous edge nodes, respectively. In this mode, two transmission paths, VP0 and VP1, are configured between the two edge nodes 1601 and 1605. The two transmission paths are a pair of protection groups. Protection switch policies are configured on node 1601 and node 1605. Therefore, node 1601 and node 1605 are protection switch nodes. The four traffic channels vc1, vc2, vc3 and vc4 have different priority levels, and are supported on both transmission paths. The CIRs of the four traffic channels are 100 Mbps, 50 Mbps, 150 Mbps and 50 Mbps respectively. VP0 and VP1 traverse one or more adaptive bandwidth links such as microwave links. In this mode, there are microwave links between node 1602 and node 1603, and between node 1606 and node 1607. Because the bandwidth of these microwave links may change with the environment, the bandwidth bandwidth allocated by the link for VP0 and VP1 may also change. However, in general the bandwidth change is not random but is predefined. In this mode, VP0 has 4 possible bandwidth values: 200 Mbps, 150 Mbps, 100 Mbps and 50 Mbps; and VP1 has 3 possible bandwidth values: 200 Mbps, 150 Mbps and 100 Mbps. Thus, from the point of view of the protection switching node (ie, edge node), VP0 and VP1 have 4 * 3 = 12 bandwidth combinations. In this mode, the 12 bandwidth combinations are numbered in 12 path bandwidth states. As shown in Figure 19-2, c1-c12 is an index of the path bandwidth states. It should be noted that the same path bandwidth state index table needs to be configured on two protection switching nodes, ie, node 1601 and node 1605. In the subsequent descriptions, the path allocation policy requires be determined according to the path bandwidth state index, and c1-c12 can also be considered as an index of channel allocation policy. Therefore, the path bandwidth state index and channel allocation policy index represent the same index, and have different names at different application occasions for ease of understanding. In a normal state, transmission is generally performed at maximum bandwidth, and both VP0 and VP1 have a capacity of 200 Mbps. Here, in an MPLS network, the transmission path is a label switching path, and the channel is an embedded inner-layer PW or LSP. On an Ethernet, the transmission path can be a VLAN connection or PBB-TE connection, and the channel can be expressed as an inner-layer VLAN; in an OTN network, the transmission path may be a higher order ODU cross-connect path, and the channel may be a lower order ODU; in an SDH network, the transmission path can be a VC4 cross-connect, and the channel can be a lower order VC, such as VC12.
[000131] Figure 20 depicts setting a channel allocation policy and channel allocation in a normal state. The channel allocation policy table is configured at the two protection switching nodes 1601 and 1605, and describes a mapping relationship between channel and path under different path bandwidth states. In the channel allocation policy table, 0 and 1 are sequence numbers of transmission paths, and correspond to VP0 and VP1 respectively; and D indicates that the corresponding service should be dropped. The cause of the drop in general is that the bandwidth is not enough to support the service. The following uses two examples to explain the channel allocation policy table. The path bandwidth state c1 is taken as an example. In this path bandwidth state, channel vc1 and channel vc2 are allocated to be supported in VP0, and channel vc3 and channel vc4 are allocated to be supported in VP1. Path state c11 is taken as an example. vc1 and vc4 must be supported on VP1, vc2 must be supported on VP0 and vc3 will be dropped. Here c1-c12 correspond to different channel allocation policies respectively. Therefore, c1-c12 can also be called channel allocation policy indexes. Because the channel generally corresponds to the service, the channel allocation policy index table here can also be called the service allocation index table, and thus c1-c12 can also be called indexes of service allocation policy. In Figure 20, the protection switching node monitors whether the bandwidth of VP0 and the bandwidth of VP1 is 200 Mbps, and therefore channels are allocated according to the policy corresponding to the bandwidth state c1.
[000132] Figures 21 to 23 show a protection switching situation where the bandwidth decreases in relation to figure 20. The protection switching includes the following steps:
[000133] Step 1901: By monitoring that the bandwidth of at least one transmission path in a protection group changes, the protection switching node determines a changed path bandwidth combination. The changed path bandwidth combination includes the bandwidth of each transmission path in the protection group after the bandwidth changes; and the protection switching node stores a mapping relationship between the combination of path bandwidths and the channel allocation policy in the path.
[000134] In this modality, a path can have multiple combinations of bandwidths, and each combination of bandwidths in the path can correspond to a channel allocation policy index. The protection switching node can store a path bandwidth state index table, where the path bandwidth state index includes a mapping relationship between the combination of path bandwidths and the path index. channel allocation policy. The protection switching node in this mode additionally stores a mapping relationship between the combination of path bandwidths and the channel allocation policy in the path. Because the path bandwidth combination matches the channel allocation policy index, the protection switching node can store not only a bandwidth state index table, but also a policy index table. of channel allocation. The channel allocation policy index table includes a mapping relationship between the channel allocation index and the channel allocation in the path. After determining a combination of bandwidths, the protection switching node can search the path bandwidth state index table for the corresponding channel allocation policy index, and then search the path policy index table. channel allocation to the channel allocation policy in the path corresponding to the channel allocation policy index.
[000135] In this step, determining when monitoring that the bandwidth of at least one transmission path in a protection group changes, determining the combination of changed path bandwidths includes the following:
[000136] The protection switching node monitors the bandwidth of each transmission path, and determines the monitored switched bandwidth of each transmission path as the bandwidth of this transmission path by monitoring that the bandwidth of at least one transmission path changes; or:
[000137] The protection switching node monitors the bandwidth of each transmission path, and at the same time receives the bandwidth of each transmission path monitored by the peer protection switching node, compares the bandwidth of each transmission path monitored by the network edge node with the bandwidth of each transmission path received through the even network edge node, select the smallest value as the determined corresponding transmission path bandwidth, and determine the combination of path bandwidths changed in this way.
[000138] Step 1902: The protection switching node queries the stored mapping relationship between the path bandwidth combination and the channel allocation policy in the path according to the changed path bandwidth combination, and determines channel allocation policy as path bandwidth state changes.
[000139] Step 1903: When switching the channel between paths in the protection group or dropping channel traffic directly, the protection switching node adjusts the current channel allocation policy to the channel allocation policy according to the width state of path band changed.
[000140] Specifically, figure 21 describes a protection switching implementation mode that occurs when the bandwidth decreases in relation to figure 20:
[000141] Before the bandwidth changes, the current bandwidth of VP0 and the current bandwidth of VP1 is 200 Mbps; the channel allocation policy index is c1; in this path bandwidth state, channel vc1 and channel vc2 are allocated to be supported in VP0, and channel vc3 and channel vc4 are allocated to be supported in VP1. Network edge node 1601 obtains the changed bandwidth information. VP0 bandwidth decreases to 100 Mbps, and VP1 bandwidth decreases to 150 Mbps. The current path bandwidth state is: VP0 bandwidth is 100 Mbps and VP1 bandwidth is 150 Mbps. By looking up the path bandwidth state table according to the current path bandwidth state, the path bandwidth state index c8 is obtained; c8 is used as a channel allocation policy index to look up the channel allocation policy table and to get the changed channel allocation policy: use VP1 to support vc1 and vc4, use VP0 to support vc2 and drop vc3. The changed channel allocation policy is different from the current channel allocation policy and therefore the protection switching action is triggered: switch vc1 from VP0 to VP1 and drop all traffic from vc3.
[000142] Figure 21 depicts a unidirectional switching mechanism, without involving automatic protection switching coordination between two protection switching nodes. In practice, an adaptive bandwidth link such as a microwave link has different frequencies in two directions of the link, and the impact caused by the external environment in both directions also differs. Thus, bandwidth in both directions can be inconsistent, and in this case, two protection switching nodes can get different path bandwidth states, which can cause channel allocation policy to differ between the two. two protection switching nodes. For the one-way switching policy, the processing indicated above is appropriate; however, for bidirectional switching policy, the channel allocation policy on both sides is required to be exactly the same, and two protection switching nodes need coordination with each other. Specifically, Fig. 22 and Fig. 23 describe another mode of implementing protection switching that occurs when the bandwidth decreases relative to Fig. 20:
[000143] Protection switching node 1601 obtains the current west to east send bandwidth: VP0 bandwidth is 100 Mbps, and VP1 bandwidth is 100 Mbps. According to the bandwidth state, node 1601 discovers the path bandwidth state index as c9, and thus performs service switching according to the channel allocation policy corresponding to c9. Switching details are ignored here. In addition, an APS message is sent to protection switching node 1605. The request signals in the APS message carry the bandwidth state index value c9.
[000144] The protection switching node 1605 obtains the current east to west transmission bandwidth. VP0 bandwidth is 50 Mbps, and VP1 bandwidth is 150 Mbps. According to the bandwidth state, node 1605 discovers the path bandwidth state index as c11, and thus performs service switching according to the channel allocation policy corresponding to c11, switches vc1 of VP0 to VP1 and drop all traffic from vc3. In addition, an APS message is sent to protection switching node 1601. The request signals in the APS message carry the value of bandwidth state index c11.
[000145] After receiving the APS message sent by protection switching node 1601, protection switching node 1605 searches a bandwidth state table based on the bandwidth state index value c9 carried in the message APS, and get the west to east path bandwidth state as follows: VP0 bandwidth is 100 Mbps, and VP1 bandwidth is 100 Mbps. The east to west transmission bandwidth obtained locally is: VP0 bandwidth is 50 Mbps, and VP1 bandwidth is 150 Mbps. The minimum bandwidth value of each path is selected to obtain new bidirectional bandwidth states as follows: VP0 bandwidth is 50 Mbps, and VP1 bandwidth is 100 Mbps. The bandwidth state table is searched for the new path bandwidth state index c12; and the channel allocation table is searched to get the channel allocation policy corresponding to c12: use VP0 to support vc2, use VP1 to support vc4 and drop vc1 and vc3. The protection switching node adjusts the channels according to this policy: it drops traffic from vc1 and vc3. Also, in the APS message sent to the protection switching node, the bridge signal value is updated to c12.
[000146] Protection switching node 1601 performs operations similar to the operations of protection switching node 1605, and the details are not repeated here again.
[000147] Figure 21 describes a protection switching situation that occurs when the bandwidth decreases in relation to figure 20. The protection switching can additionally include the following step:
[000148] Step 2401: Monitor the bandwidth of the first transmission path and/or the second transmission path. When it is determined that the finally monitored bandwidth of the first transmission path and/or the finally monitored bandwidth of the second transmission path change with respect to the initial bandwidth of the first transmission path and/or the initial bandwidth of the second transmission path, the network edge node determines the finally monitored bandwidth of the first transmission path and/or the finally monitored bandwidth of the second transmission path as a final combination of path bandwidths. The network edge node stores a mapping relationship between the combination of path bandwidths and the channel allocation policy in the path.
[000149] In this mode, the determination that the finally monitored bandwidth of the first transmission path and/or the finally monitored bandwidth of the second transmission path changes with respect to the initial bandwidth of the first transmission path and/ or the initial bandwidth of the second transmission path can be specifically: comparing the finally monitored bandwidth of the first transmission path with the initial bandwidth of the first transmission path; comparing the finally monitored bandwidth of the second transmission path with the initial bandwidth of the second transmission path; and if one or the other of the two comparison results shows that the two compared bandwidth values are different, that is, if the finally monitored bandwidth of the first transmission path is different from the initial bandwidth of the first transmission path , or the finally monitored bandwidth of the second transmission path is different from the initial bandwidth of the second transmission path, or the finally monitored bandwidth of the first transmission path and the finally monitored bandwidth of the second transmission path are different from the initial bandwidth of the first transmission path and the initial bandwidth of the second transmission path, determine that the finally monitored bandwidth of the first transmission path and/or the finally monitored bandwidth of the second transmission path transmission changes in relation to the initial bandwidth of the first transmission path and/ or the initial bandwidth of the second transmission path.
[000150] In this mode, a path can have multiple combinations of bandwidths, and each combination of bandwidths in the path can correspond to a channel allocation policy index. The network edge node can store a path bandwidth state index table, where the path bandwidth state index table includes a mapping relationship between the combination of path bandwidths and the channel allocation policy index. The network edge node in this mode further stores a mapping relationship between the combination of path bandwidths and the channel allocation policy in the path. Because the path bandwidth combination matches the channel allocation policy index, the network edge node can store not only a bandwidth state index table, but also a policy index table. of channel allocation. The channel allocation policy index table includes a mapping relationship between the channel allocation index and the channel allocation in the path. After determining a combination of bandwidths, the network node can search the path bandwidth state index table for the corresponding channel allocation policy index, and then search the channel allocation policy index table. channel to the channel allocation policy in the path corresponding to the channel allocation policy index.
[000151] In this step, the network edge node monitors the bandwidth of the first transmission path and/or the second transmission path and when it is determined that the bandwidth is finally monitored of the first transmission path and/or the monitored bandwidth finally of the second transmission path changes in relation to the initial bandwidth of the first transmission path and/or the initial bandwidth of the second transmission path, the network edge node determines the monitored bandwidth finally from the first transmission path and/or the monitored bandwidth finally from the second transmission path as a final combination of path bandwidths. This step includes the following:
[000152] 24011: The network edge node monitors the bandwidth of the first transmission path and the second transmission path, determines the monitored bandwidth of the first transmission path as the finally monitored bandwidth of the first transmission path. transmission, and determines the monitored bandwidth of the second transmission path as the finally monitored bandwidth of the second transmission path; compares the initial bandwidth of the first transmission path with the finally monitored bandwidth of the first transmission path, and compares the initial bandwidth of the second transmission path with the finally monitored bandwidth of the second transmission path; and the network edge node determines the finally monitored bandwidth of the first transmission path and/or the finally monitored bandwidth of the second transmission path as a final combination of path bandwidths when it is determined that the finally monitored bandwidth of the first transmission path and/or the finally monitored bandwidth of the second transmission path changes with respect to the initial bandwidth of the first transmission path and/or the initial bandwidth of the second transmission path;
[000153] or,
[000154] 24012: The network edge node monitors the bandwidth of the first transmission path and the second transmission path, and receives the bandwidth of the first transmission path and the bandwidth of the second path at the same time transmission rates monitored by the peer network edge node; compares the bandwidth of the first transmission path monitored by the network edge node with the bandwidth of the first transmission path received from the even network edge node, and selects the smallest bandwidth value as the bandwidth finally monitored from the first transmission path; compares the second transmit path bandwidth monitored by the network edge node with the second transmit path bandwidth received from the even network edge node, and selects the smallest bandwidth value as the bandwidth finally monitored from the second transmission path; compares the initial bandwidth of the first transmission path with the finally monitored bandwidth of the first transmission path, and compares the initial bandwidth of the second transmission path with the finally monitored bandwidth of the second transmission path; and the network edge node determines the finally monitored bandwidth of the first transmission path and/or the finally monitored bandwidth of the second transmission path as a final combination of path bandwidths when it is determined that the finally monitored bandwidth of the first transmission path and/or the finally monitored bandwidth of the second transmission path changes with respect to the initial bandwidth of the first transmission path and/or the initial bandwidth of the second transmission path; or,
[000155] 24013: The network edge node monitors the bandwidth of the first transmission path and the second transmission path, determines the monitored bandwidth of the first transmission path as the intermediate monitored bandwidth of the first transmission path. transmission, and determines the monitored bandwidth of the second transmission path as the intermediate monitored bandwidth of the second transmission path; compares the initial bandwidth of the first transmission path with the intermediate monitored bandwidth of the first transmission path, and compares the initial bandwidth of the second transmission path with the intermediate monitored bandwidth of the second transmission path; and the network edge node determines the intermediate monitored bandwidth of the first transmission path and/or the intermediate monitored bandwidth of the second transmission path as a final combination of path bandwidths when it is determined that the intermediate monitored bandwidth of the first transmission path and/or the intermediate monitored bandwidth of the second transmission path changes with respect to the initial bandwidth of the first transmission path and/or the initial bandwidth of the second transmission path; the network edge node queries the stored mapping relationship between the combination of path bandwidths and the channel allocation policy in the path according to the combination of intermediate path bandwidths, and determines the channel allocation policy. channel on path corresponding to combination of intermediate path bandwidths; evaluates whether the channel allocation policy corresponding to the combination of intermediate path bandwidths is equal to the initial channel allocation policy, and whether the channel allocation policy corresponding to the combination of intermediate path bandwidths is different from the policy of initial channel allocation, perform channel switching according to channel allocation policy corresponding to the combination of intermediate path bandwidths; the network edge node receives the bandwidth of the first transmission path and the bandwidth of the second transmission path monitored by the peer network edge node, compare the bandwidth of the first transmission path monitored by the edge node network with the bandwidth of the first transmission path received from the even network edge node, and selects the lowest bandwidth value as the finally monitored bandwidth of the first transmission path; compares the second transmit path bandwidth monitored by the network edge node with the second transmit path bandwidth received from the even network edge node, and selects the smallest bandwidth value as the bandwidth finally monitored from the second transmission path; compares the intermediate monitored bandwidth of the first transmission path with the finally monitored bandwidth of the first transmission path, and compares the intermediate monitored bandwidth of the second transmission path with the finally monitored bandwidth of the second transmission path ; and the network edge node determines the finally monitored bandwidth of the first transmission path and/or the finally monitored bandwidth of the second transmission path as a final combination of path bandwidths when it is determined that the finally monitored bandwidth of the first transmission path and/or the finally monitored bandwidth of the second transmission path changes with respect to the intermediate monitored bandwidth of the first transmission path and/or the intermediate monitored bandwidth of the second transmission path .
[000156] Step 2402: The network edge node queries the stored mapping relationship between the path bandwidth combination and the channel allocation policy in the path according to the final path bandwidth combination, and determines the channel allocation policy on the path corresponding to the final combination of path bandwidths.
[000157] Step 2403: If the channel allocation policy corresponding to the final combination of path bandwidths is different from the initial channel allocation policy, channel switching is performed according to the channel allocation policy corresponding to the combination end of path bandwidths.
[000158] In this mode, the initial channel allocation policy can be the mapping relationship stored between the combination of path bandwidths and the channel allocation policy in the path, and the channel allocation policy corresponding to the initial combination of path bandwidths. The initial combination of path bandwidths can be a combination of the initial bandwidth of the first transmission path and the initial bandwidth of the second transmission path.
[000159] Specifically, as to the method of step 19031 to determine the final combination of path bandwidths, before bandwidth changes, the initial VP0 bandwidth and the initial VP1 bandwidth is 200 Mbps; the channel allocation policy index is c1; in this path bandwidth state, channel vc1 and channel vc2 are allocated to be supported in VP0, and channel vc3 and channel vc4 are allocated to be supported in VP1. Figure 21 is taken as an example. The network edge node obtains the final bandwidth information. VP0 bandwidth decreases to 100 Mbps, and VP1 bandwidth decreases to 150 Mbps. The initial path bandwidth state is as follows: VP0 bandwidth is 100 Mbps and VP1 bandwidth is 150 Mbps. By looking up the path bandwidth state table according to the initial path bandwidth state, the path bandwidth state index c8 is obtained; c8 is used as an index to look up the channel allocation policy index table and get the final channel allocation policy: use VP1 to support vc1 and vc4, use VP0 to support vc2 and drop vc3. The final channel allocation policy is different from the initial channel allocation policy and therefore a protection switch action is enabled: switch vc1 from VP0 to VP1 and drop all traffic from vc3.
[000160] The network edge node indicated above is also called the protection switching node.
[000161] In the embodiments and embodiments of this application, the concept of the protection switching node is equivalent to the concept of the network edge node, and both concepts can be interchanged with each other.
[000162] It should be noted that, for ease of description, this mode only describes the situation where only two transmission paths are included in a protection group. However, a situation where more than two transmission paths are included in a protection group can exist, and in this case, this protection switching method is still applicable as long as the relationship between service and channel under various combinations of widths of bandwidth is configured in the channel allocation policy table.
[000163] Persons of common knowledge in the art can understand that all or a part of the method steps according to the embodiments of the present invention can be implemented by means of a program instructing pertinent hardware. The program can be stored on computer readable storage media. When the program is executed the method steps in the embodiments of the present invention are executed. Storage media can be any media capable of storing program codes, such as ROM, RAM, a magnetic disk, or an optical disk.
[000164] Finally, it should be noted that the embodiments set out above are provided merely to describe the technical solutions of the present invention, but are not intended to limit the present invention. Persons of ordinary skill in the art may understand that, although the present invention has been described in detail with reference to the embodiments set out above, equivalent modifications or substitutions can still be made to the technical solutions of the present invention, and such modifications or equivalent substitutions do not so that the modified technical solutions depart from the scope of the technical solutions of the present invention.
权利要求:
Claims (15)
[0001]
1. Automatic protection switching method, characterized in that a protection group comprises a first transmission path and a second transmission path, the method comprising the steps of: determining (101), by means of an edge node network, a portion of services protected in the first transmission path or in the second transmission path as service(s) to be switched by querying a pre-stored protection switching policy according to a bandwidth value changed or a bandwidth change value of the first transmission path when monitoring that the bandwidth of the first transmission path changes, the pre-stored protection switching policy comprises a mapping relationship between the bandwidth value changed or the bandwidth change value and the service(s) to be switched; and switching (102) the service(s) to be switched between links in the second transmission path and the first transmission path.
[0002]
2. Automatic protection switching method, according to claim 1, characterized in that: after the network edge node switches the service(s) to be switched between links in the second path of transmission and in the first transmission path, the method further comprises the step of: sending, via the network edge node, a partial switching message to an even network edge node of the network edge node in the first transmission path. transmission or on the second transmission path, wherein the partial switching message includes at least indication information regarding the service(s) to be switched or information regarding the bandwidth change, and is used to instruct the peer network edge node to determine the service(s) to be switched according to the partial switch message and to switch the service(s) to be switched between links in the second transmission path and the first transmission path.
[0003]
3. Automatic protection switching method according to claim 2, characterized in that: determining a portion of protected services in the first transmission path or in the second transmission path as at least one service to be switched in accordance with bandwidth change further comprises: determining indication information regarding the at least one service to be switched according to information regarding bandwidth change of the first transmission path.
[0004]
4. Automatic protection switching method according to claim 3, characterized in that: when the network edge node monitors that the bandwidth of the first transmission path changes, it determines a portion of protected services in the first transmission path as the service(s) to be switched according to bandwidth change and determining indication information regarding the service(s) to be switched comprise: query, via the network edge node when monitoring that the link bandwidth in the first transmission path decreases, a protection switching policy to obtain a priority value corresponding to a decreased bandwidth value or a bandwidth throttling value according to bandwidth throttling, wherein the protection switching policy comprises at least one mapping relationship between the decreased bandwidth value or the decreased value of la bandwidth and the priority value, and comprises a switching rule, and the switching rule comprises at least indication information of determining services with priority lower than the priority value as services to be switched from the first transmission path to the second transmission path and determining the priority value as the indication information regarding the services to be switched; and determining the services with priority lower than the priority value as the services to be switched from the first transmission path to the second transmission path and determining the priority value as the indication information regarding the services to be switched according to the switch rule in the protection switch policy.
[0005]
5. Automatic protection switching method according to claim 3 or 4, characterized in that: when the network edge node monitors that the bandwidth of the first transmission path changes, it determines a portion of protected services in the first transmission path as service(s) to be switched according to bandwidth change and determining indication information regarding the service(s) to be switched comprise: consult, through the network edge node when monitoring that the link bandwidth in the first transmission path changes, the protection switching policy to obtain a priority value corresponding to an increased bandwidth value or a value of bandwidth increase in accordance with bandwidth increase, wherein the protection switch policy comprises at least a mapping relationship between the increased bandwidth value or the increased bandwidth value and the priority value, and comprises a switching rule, and the switching rule comprises at least indication information of determining services with priority equal to or greater than the priority value as services to be switched from the second transmission path to the first transmission path and determining the priority value as the indication information regarding the services to be switched; and determining the services with priority equal to or greater than the priority value as the services to be switched from the second transmission path to the first transmission path and determining the priority value as the indication information regarding the services to be switched from according to the switching rule in the protection switching policy.
[0006]
6. Automatic protection switching method according to claim 2, characterized in that: sending, through the network edge node, the partial switching message to the network edge node even of the edge node in the first transmission path or in the second transmission path comprises: sending, via the network edge node via a channel to transmit the service(s) to be switched, the switching message partial to the even network edge node of the network edge node in the first transmission path or the second transmission path, wherein indication information in the partial switch message is an identifier of a channel for transmitting the partial switch message .
[0007]
7. Automatic protection switching method according to any one of claims 1 to 6, characterized in that: when the network edge node monitors that the bandwidth of the first transmission path changes, the method still comprises the step of: determining, through the network edge node, a portion of services protected in the first transmission path as services to be discarded according to bandwidth change of the first transmission path, and discarding the services to be discarded.
[0008]
8. Automatic protection switching method characterized in that it comprises the steps of: receiving (1201), by means of a network edge node, a partial switching message from a network edge node even from the edge node network via a first transmission path or a second transmission path; and determining (1202) a portion of services protected on the first transmission path or on the second transmission path as service(s) to be switched according to indication information regarding the service(s) to be switched(s) or a bandwidth change value or a bandwidth change value of the first transmission path in the partial switch message when querying a pre-stored protection switch policy, where the switch policy pre-stored protection comprises a mapping relationship between the changed bandwidth value or the bandwidth change value and the service(s) to be switched, and switching the service(s) s) to be switched between links in the second transmission path and the first transmission path.
[0009]
9. Automatic protection switching device, in which a protection group comprises a first transmission path and a second transmission path, characterized in that the device comprises: a determination module (10) configured to determine a part of services protected on the first transmission path or on the second transmission path as service(s) to be switched by querying a pre-stored protection switching policy according to a changed bandwidth value or a value of bandwidth change of the first transmission path when monitoring that the bandwidth of the first transmission path changes, the pre-stored protection switching policy comprises a mapping relationship between the changed bandwidth value or the value of bandwidth change and the service(s) to be switched; and a switching module (20) configured to switch the service(s) to be switched between links in the second transmission path and the first transmission path.
[0010]
10. Automatic protection switching device according to claim 9, characterized in that it further comprises: a message sending module (30), configured to send a partial switching message to an even network edge node of the network edge node on the first transmission path or on the second transmission path, wherein the partial switching message includes at least indication information regarding the service(s) to be switched or information of bandwidth change, and is used to instruct the peer network edge node to determine the service(s) to be switched according to the partial switch message and to switch the service(s) s) to be switched between links in the second transmission path and the first transmission path.
[0011]
11. Automatic protection switching device according to claim 10, characterized in that the determination module comprises: a bandwidth monitoring unit (11), configured to monitor bandwidth of the first transmission path ; and a switching determination unit (12) configured to determine a portion of services protected in the first transmission path or in the second transmission path as service(s) to be switched according to bandwidth change when monitoring that the bandwidth of the first transmission path changes, and determining indication information regarding the service(s) to be switched in accordance with the bandwidth change of the first transmission path.
[0012]
12. Automatic protection switching device according to claim 9, characterized in that it further comprises: a first discard module, configured to determine a portion of services protected in the first transmission path as services to be discarded in accordance with with bandwidth change of the first transmission path, and discard the services to be discarded.
[0013]
13. Automatic protection switching device characterized in that it comprises: a message receiving module (40), configured to receive a partial switching message from an even network edge node via a first transmission path or of a second transmission path; and a service switching module (50) configured to determine a portion of services protected on the first transmission path or on the second transmission path as service(s) to be switched according to indication information regarding the service(s) to be switched or a bandwidth change value or a bandwidth change value of the first transmission path in the partial switch message when querying a pre-protect switch policy. stored, wherein the pre-stored protection switching policy comprises a mapping relationship between the changed bandwidth value or the bandwidth change value and the service(s) to be switched , and to switch the service(s) to be switched between links in the second transmission path and in the first transmission path.
[0014]
14. Automatic protection switching device according to claim 13, characterized in that it further comprises: a second discard module, configured to determine a portion of services protected in the first transmission path as services to be discarded in accordance with with the bandwidth change information included in the partial switching message, and discarding the services to be discarded.
[0015]
15. Automatic protection switching system characterized in that it comprises a first network edge node (401) and a second network edge node (405), wherein: there are intermediate nodes between the first network edge node and the second network edge node to form a second transmission path and a first transmission path; the first network edge node is configured to: determine a portion of services protected on the first transmission path or on the second transmission path as service(s) to be switched by querying a pre-stored protection switching policy according to a changed bandwidth value or a bandwidth change value of the first transmission path when monitoring that the bandwidth of the first transmission path changes, the pre-stored protection switching policy comprises a relation mapping between the changed bandwidth value or the changed bandwidth value and the service(s) to be switched; switching the service(s) to be switched between links in the second transmission path and the first transmission path; and sending a partial switching message to the second network edge node on an opposite side of the first transmission path or the second transmission path, wherein the partial switching message includes at least indication information regarding the service(s) to be switched or the bandwidth change value or the bandwidth change value of the first transmission path; and the second network edge node is configured to: receive the partial switch message from the first network edge node via the first transmission path or the second transmission path; and determining a portion of services protected on the first transmission path or on the second transmission path as a service(s) to be switched according to the indication information regarding the service(s) to be switched. s) either a bandwidth change value or a bandwidth change value of the first transmission path in the partial switch message when querying a pre-stored protection switch policy, where the pre-protect switch policy - stored comprises a mapping relationship between the changed bandwidth value or the bandwidth change value and the service(s) to be switched, and switching the service(s) to be switched between links in the first transmission path and the second transmission path.
类似技术:
公开号 | 公开日 | 专利标题
BR112012004294B1|2021-08-10|METHOD, DEVICE AND AUTOMATIC PROTECTION SWITCHING SYSTEM
US9485181B2|2016-11-01|Dynamic bandwidth adjustment in packet transport network
EP2781065B1|2015-10-07|Technique for network routing
US9253097B1|2016-02-02|Selective label switched path re-routing
US9100327B2|2015-08-04|Bandwidth information notification method, service processing method, network node and communication system
US9143433B2|2015-09-22|Energy efficient and energy-managed traffic engineering services in multiprotocol label switching and generalized multiprotocol label switching networks
US9191863B2|2015-11-17|Bandwidth guaranteed system, radio node device and bandwidth guaranteeing method
US8897140B1|2014-11-25|Congestion managed traffic engineering services in multiprotocol label switching and generalized multiprotocol label switching networks
US20090080450A1|2009-03-26|Method and apparatus for interaction among resource reservation protocol nodes
US9113390B2|2015-08-18|Protecting packet traffic in a network including an adaptive bandwidth link
同族专利:
公开号 | 公开日
US20150131432A1|2015-05-14|
BR112012004294A2|2016-03-08|
EP2464055A1|2012-06-13|
EP2819357A3|2015-02-25|
EP3739829A1|2020-11-18|
WO2011022998A1|2011-03-03|
AU2010289226B2|2014-02-20|
CN101645797A|2010-02-10|
EP2464055A4|2012-06-27|
US9755954B2|2017-09-05|
EP2819357B1|2020-05-13|
CA2771818A1|2011-03-03|
RU2012107072A|2013-10-10|
US20120163224A1|2012-06-28|
AU2010289226A1|2012-03-22|
ES2477275T3|2014-07-16|
CN101645797B|2011-04-13|
EP2464055B1|2014-04-23|
JP2013503518A|2013-01-31|
RU2536352C2|2014-12-20|
CA2771818C|2015-12-01|
JP5453535B2|2014-03-26|
US9042228B2|2015-05-26|
EP2819357A2|2014-12-31|
ES2809522T3|2021-03-04|
引用文献:
公开号 | 申请日 | 公开日 | 申请人 | 专利标题

US5329520A|1992-07-17|1994-07-12|Alcatel Network Systems, Inc.|High-speed facility protection in a digital telecommunications system|
JPH07212358A|1994-01-10|1995-08-11|Fujitsu Ltd|Route detour system|
JP2933021B2|1996-08-20|1999-08-09|日本電気株式会社|Communication network failure recovery method|
KR100340725B1|1999-12-29|2002-06-20|서평원|Method for management and auto protection switching of signal path in optical transmission system for subscriber service|
US6965775B2|2002-05-15|2005-11-15|Nokia Corporation|Service-oriented protection scheme for a radio access network|
RU2284662C2|2002-06-14|2006-09-27|Хювэй Текнолоджиз Ко., Лтд.|Method and device for virtual protection of fiber-optic duct|
AT369717T|2002-10-16|2007-08-15|Alcatel Lucent|PACKAGE TRANSMISSION FOR PACKAGE DATA TRANSMISSION SYSTEMS IN A MULTICHANNELFUNKANORDNUNG|
US20040114536A1|2002-10-16|2004-06-17|O'rourke Aidan|Method for communicating information on fast and slow paths|
US8296407B2|2003-03-31|2012-10-23|Alcatel Lucent|Calculation, representation, and maintenance of sharing information in mesh networks|
US7340169B2|2003-11-13|2008-03-04|Intel Corporation|Dynamic route discovery for optical switched networks using peer routing|
AU2003296204A1|2003-12-24|2005-07-14|Zte Corporation|A method and system for implementing sub-multiplex segment sharing protect in all-optical network|
RU2327293C2|2003-12-24|2008-06-20|Зте Корпорейшн|Method and system for fulfilment segment splitting protection of submultiplexing for completely optical net|
JP2006287549A|2005-03-31|2006-10-19|Japan Radio Co Ltd|Band control method and mpls router utilizing the same|
US7715312B2|2005-04-25|2010-05-11|Verizon Services Corp.|Methods and systems for maintaining quality of service levels for data transmissions|
CN100403686C|2005-06-17|2008-07-16|华为技术有限公司|Data service protection reverse triggering process and apparatus|
JP2007221564A|2006-02-17|2007-08-30|Nec Corp|Communication device, communication system, and method|
AT432576T|2006-03-20|2009-06-15|Alcatel Lucent|METHOD FOR THE SEAMLESS SWITCHING OF WIRELESS CONNECTIONS OVER ETHERNET AND A SYSTEM FOR CARRYING OUT THE METHOD|
US8014400B2|2007-08-10|2011-09-06|Sharp Laboratories Of America, Inc.|Method for allocating data packet transmission among multiple links of a network, and network device and computer program product implementing the method|
JPWO2009090723A1|2008-01-15|2011-05-26|富士通株式会社|Packet transmission equipment|
JP5092920B2|2008-06-18|2012-12-05|日本電気株式会社|RADIO COMMUNICATION SYSTEM, RADIO COMMUNICATION DEVICE, AND RADIO COMMUNICATION METHOD USED FOR THEM|
CN101291276B|2008-06-18|2010-12-08|中国电信股份有限公司|Tunnel protecting method and system based on services|
CN101340381A|2008-08-04|2009-01-07|中兴通讯股份有限公司|Aggregation link management method and apparatus|
ES2557591T3|2008-08-29|2016-01-27|Telefonaktiebolaget Lm Ericsson |Efficient scheme of radio protection pending operation|
CN101447929B|2008-12-26|2011-06-08|华为技术有限公司|Traffic routing method, router and communication system|
CN101645797B|2009-08-25|2011-04-13|华为技术有限公司|Automatic protective switching method, equipment and system|
US8586604B2|2010-08-20|2013-11-19|Boehringer Ingelheim International Gmbh|Inhibitors of the microsomal prostaglandin E2 synthase-1|CN101645797B|2009-08-25|2011-04-13|华为技术有限公司|Automatic protective switching method, equipment and system|
EP2574099A4|2010-05-21|2014-11-12|Nec Corp|Wireless communication network system|
US8452302B2|2010-11-04|2013-05-28|At&T Intellectual Property I, L.P.|Dynamic bandwidth and access management|
CN102143052B|2010-11-08|2013-10-09|华为技术有限公司|Method, equipment and system for lossless bandwidth|
WO2013071993A1|2011-11-16|2013-05-23|Telefonaktiebolaget L M Ericsson |Conditional routing technique|
CN104067577B|2011-11-16|2017-03-15|瑞典爱立信有限公司|Technology for network route|
CN102377677B|2011-11-21|2014-04-02|盛科网络(苏州)有限公司|Method and system for quickly switching protection paths in multi-protocol label switchingnetwork|
CN103209139B|2012-01-17|2017-11-17|深圳市捷宇通信技术有限公司|The limited PTN capacity allocation methods of Internet resources|
WO2013119802A1|2012-02-11|2013-08-15|Social Communications Company|Routing virtual area based communications|
EP2618523B1|2012-04-28|2019-03-06|Huawei Technologies Co., Ltd.|Method, network device and system for ethernet ring protection switching|
US9374301B2|2012-05-18|2016-06-21|Brocade Communications Systems, Inc.|Network feedback in software-defined networks|
CN103684811A|2012-08-31|2014-03-26|中兴通讯股份有限公司|Service protection method and system of composite link|
US9191272B2|2012-09-07|2015-11-17|Electronics And Telecommunications Research Institute|Protection switching method and apparatus|
JP2015536582A|2012-10-31|2015-12-21|日本電気株式会社|Network communication system and virtualization method thereof|
US9444712B2|2012-11-21|2016-09-13|Cisco Technology, Inc.|Bandwidth on-demand services in multiple layer networks|
JP2014116817A|2012-12-11|2014-06-26|Hitachi Ltd|Edge communication device and relay communication device|
US9392526B2|2013-05-28|2016-07-12|Cisco Technology, Inc.|Protection against fading in a network ring|
US9379993B1|2013-08-14|2016-06-28|Amazon Technologies, Inc.|Network control protocol|
US9450774B2|2014-05-06|2016-09-20|Cisco Technology, Inc.|Fast protection switchover in a transport network|
CN105337862B|2014-06-30|2019-02-01|华为技术有限公司|The method and the network equipment of path switching|
US9622145B2|2014-12-05|2017-04-11|At&T Intellectual Property I, L.P.|Wireless network architecture for providing media content|
CN106487548B|2015-08-26|2020-09-15|南京中兴新软件有限责任公司|Method and device for processing POTN virtual interface|
CN106533879B|2015-09-10|2020-04-28|中兴通讯股份有限公司|Method and device for DCN irregular domain intercommunication in PTN equipment|
CN105245388B|2015-10-28|2018-11-09|武汉众合德信技术有限公司|A kind of miniaturization access PTN device and its configuration method, system|
EP3432619B1|2016-04-05|2020-12-09|Huawei Technologies Co., Ltd.|Mobile collaborative communication method and device|
US9877245B2|2016-05-16|2018-01-23|Kodacloud Inc.|Determining a threshold value for determining whether to steer a particular node from associating with one node to another node in a wireless environment|
US10560369B2|2016-06-23|2020-02-11|Wipro Limited|Methods and systems for detecting and transferring defect information during manufacturing processes|
CN111654441A|2016-09-30|2020-09-11|华为技术有限公司|Pseudo wire load sharing method and device|
US10743332B2|2016-11-18|2020-08-11|Qualcomm Incorporated|Techniques and apparatuses for complementary transmission relating to an interrupted traffic flow in new radio|
CN106656311A|2016-12-15|2017-05-10|国网山东省电力公司长岛县供电公司|Data link backup apparatus and method|
CN107360023A|2017-06-30|2017-11-17|杭州清本科技有限公司|Communication recovery method and computer-readable storage medium|
CN107171863A|2017-06-30|2017-09-15|杭州清本科技有限公司|Communication recovery device|
CN108429675B|2018-03-30|2021-10-12|新华三技术有限公司|VRRPlinkage switching method and device and electronic equipment|
US20190327330A1|2018-04-20|2019-10-24|Facebook, Inc.|Building Customized User Profiles Based on Conversational Data|
CN110611613B|2019-09-27|2021-12-21|上海天玑数据技术有限公司|Multipath routing method and device based on network equipment|
CN111901435B|2020-07-31|2021-09-17|南京航空航天大学|Load-aware cloud-edge collaborative service deployment method|
法律状态:
2019-01-15| B06F| Objections, documents and/or translations needed after an examination request according [chapter 6.6 patent gazette]|
2020-02-18| B15K| Others concerning applications: alteration of classification|Free format text: A CLASSIFICACAO ANTERIOR ERA: H04L 12/24 Ipc: H04L 12/24 (2006.01), H04L 12/26 (2006.01), H04L 1 |
2020-02-18| B06U| Preliminary requirement: requests with searches performed by other patent offices: procedure suspended [chapter 6.21 patent gazette]|
2021-06-08| B09A| Decision: intention to grant [chapter 9.1 patent gazette]|
2021-08-10| B16A| Patent or certificate of addition of invention granted [chapter 16.1 patent gazette]|Free format text: PRAZO DE VALIDADE: 20 (VINTE) ANOS CONTADOS A PARTIR DE 17/05/2010, OBSERVADAS AS CONDICOES LEGAIS. PATENTE CONCEDIDA CONFORME ADI 5.529/DF, QUE DETERMINA A ALTERACAO DO PRAZO DE CONCESSAO. |
优先权:
申请号 | 申请日 | 专利标题
CN2009100917876A|CN101645797B|2009-08-25|2009-08-25|Automatic protective switching method, equipment and system|
CN200910091787.6|2009-08-25|
PCT/CN2010/072860|WO2011022998A1|2009-08-25|2010-05-17|Automatic protection switching method, equipment and system|
[返回顶部]